import { Column, Entity, PrimaryGeneratedColumn } from "typeorm";
@Entity("plot")
export class PlotsEntity {
    @PrimaryGeneratedColumn()
    id:number; // 标记为主列，值自动生成

    @Column({
        type: "varchar",
        name:'name'
    })
    name: string;

    @Column({
        type: "varchar",
        name:'lat'
    })
    lat: string;

    @Column({
        type: "varchar",
        name:'lng'
    })
    lng: string;
}